
class AppCheckResponse {
  /// 蒲公英生成的用于区分历史版本的build号
  String? buildBuildVersion;	
  /// 强制更新版本号（未设置强置更新默认为空）
  String? forceUpdateVersion;	
  /// 强制更新的版本编号
  String? forceUpdateVersionNo;
  /// 是否强制更新
  bool? needForceUpdate;
  /// 应用安装地址
  String? downloadURL;	
  /// 是否有新版本
  bool? buildHaveNewVersion;
  /// 上传包的版本编号，默认为1 (即编译的版本号，一般来说，编译一次会变动一次这个版本号, 在 Android 上叫 Version Code。对于 iOS 来说，是字符串类型；对于 Android 来说是一个整数。例如：1001，28等。)
  String? buildVersionNo;
  /// 版本号, 默认为1.0 (是应用向用户宣传时候用到的标识，例如：1.1、8.2.1等。)
  String? buildVersion;
  /// 应用短链接
  String? buildShortcutUrl;
  /// 应用更新说明
  String? buildUpdateDescription;


  void fromJson(Map<String, dynamic> json) {
    buildBuildVersion = json["buildBuildVersion"];
    forceUpdateVersion = json["forceUpdateVersion"];
    needForceUpdate = json["needForceUpdate"];
    downloadURL = json["downloadURL"];
    buildHaveNewVersion = json["buildHaveNewVersion"];
    buildVersionNo = json["buildVersionNo"];
    buildVersion = json["buildVersion"];
    buildShortcutUrl = json["buildShortcutUrl"];
    buildUpdateDescription = json["buildUpdateDescription"];
  }

  Map<String, dynamic> toJson() {
    return {
      "buildBuildVersion": buildBuildVersion,
      "forceUpdateVersion": forceUpdateVersion,
      "needForceUpdate": needForceUpdate,
      "downloadURL": downloadURL,
      "buildHaveNewVersion": buildHaveNewVersion,
      "buildVersionNo": buildVersionNo,
      "buildVersion": buildVersion,
      "buildShortcutUrl": buildShortcutUrl,
      "buildUpdateDescription": buildUpdateDescription
    };
  }
}